<template>
  <div>
    <input type="text" @keyup.enter="fn" />
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {
    fn() {
      console.log("小飞棍来喽");
    },
  },
};
</script>

<style scoped></style>
